package ui.swing.font;

import java.awt.GraphicsEnvironment;

import org.apache.commons.lang.ArrayUtils;

public class ListFonts {

	public static void main(String[] args) {
		String[] fontNames = GraphicsEnvironment.getLocalGraphicsEnvironment()
				.getAvailableFontFamilyNames();
		System.out.println(ArrayUtils.toString(fontNames));
	}
}
